package com.crm.service.saling;

import com.crm.pojo.Dispatcher;
import com.crm.pojo.Inandoutlog;
import com.crm.vo.DispacherVO;

import java.util.List;
import com.crm.vo.DispatcherContractClientUserInfoVO;

import java.util.List;

/**
 * Created by dr5hx on 2018/8/23
 */
public interface DispatcherService {
    public Dispatcher saveDispatcher(Dispatcher dispatcher);
    public Dispatcher findOneById(Long did);
    public List<Inandoutlog> findAllOrderBymh(String q);
    public List<Inandoutlog> findAllOrderBymh2();

    /**
     * 显示发货单详细信息
     *
     * @param currpage
     * @param rows
     * @return
     */
    public List<DispatcherContractClientUserInfoVO> getDispatcherContractClientUserInfoVOList(int currpage, int rows);

    /**
     * 获取发货单数量
     *
     * @return
     */
    public Long getdispatcherListCount();
     Dispatcher getDispatcherByDispatcherId(Long dipatcherId);

}
